package com.cityfood.service;

import java.util.List;

import com.cityfood.pojo.CfUserAddress;

public interface AddressService {
	/**
	 * 根据用户id查询用户收货地址
	 * */
	public List<CfUserAddress> getAddressByUserId(Integer userId);
	
	/**
	 * 新增用户收货地址
	 * */
	public int insertAddress(CfUserAddress address);
	
	/**
	 * 修改查询用户收货地址
	 * */
	public int updayeAddress(CfUserAddress address);
	
	/**
	 * 根据地址id删除用户收货地址
	 * */
	public int deleteAddress(Integer addressId);

}
